﻿// Currently no routes are needed





//using System.Collections.Generic;
//using System.Web.Mvc;
//using System.Web.Routing;
//using Orchard.Mvc.Routes;
//using Orchard.Localization;

//namespace OrchardHUN.QnA
//{
//    [OrchardFeature("OrchardHUN.QnA")]
//    public class Routes : IRouteProvider
//    {
//        public Localizer T { get; set; }

//        public Routes()
//        {
//            //T = NullLocalizer.Instance;
//        }

//        public void GetRoutes(ICollection<RouteDescriptor> routes)
//        {
//            foreach (var routeDescriptor in GetRoutes())
//                routes.Add(routeDescriptor);
//        }

//        public IEnumerable<RouteDescriptor> GetRoutes()
//        {          
//            return new[] {
//                new RouteDescriptor {
//                    Name = "NewDiscussion",
//                    Route = new Route(
//                        //T("NewDiscussion").ToString(),
//                        "NewDiscussion",
//                        new RouteValueDictionary {
//                                                    {"area", "OrchardHUN.QnA"},
//                                                    {"controller", "QnADiscussions"},
//                                                    {"action", "NewDiscussion"}
//                                                },
//                        new RouteValueDictionary(),
//                        new RouteValueDictionary {
//                                                    {"area", "OrchardHUN.QnA"}
//                                                },
//                        new MvcRouteHandler())
//                }
//            };
//        }
//    }
//}